package com.ruoyi.business.domain;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.ruoyi.common.core.domain.entity.SysUser;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import lombok.Data;

/**
 * 教练对象 train_man
 *
 * @author 吴倩芸
 * @date 2023-03-05
 */
@Data
@TableName("trainMan")
public class TrainMan extends SysUser {
    private static final long serialVersionUID = 1L;

    /**
     * id
     */
    @TableId
    private String id;

    /**
     * 工作经历
     */
    @Excel(name = "工作经历")
    @TableField(value = "workExperience")
    private String workExperience;

    /**
     * 教育经历
     */
    @Excel(name = "教育经历")
    @TableField(value = "educationExperience")
    private String educationExperience;

    /**
     * 用户昵称
     */
    @TableField(exist = false)
    private String name;

    /**
     * 用户余额
     */
    @Excel(name = "用户余额")
    @TableField(exist = false)
    private String money;

    /**
     * 关联的sysuser的id
     */
    @Excel(name = "关联的sysuser的id")
    @TableField(exist = false)
    private Long sysUserId;

    /**
     * 用户身高
     */
    @Excel(name = "用户身高")
    @TableField(exist = false)
    private Long height;

    /**
     * 用户体重
     */
    @Excel(name = "用户体重")
    @TableField(exist = false)
    private String weight;

    /**
     * 收获地址
     */
    @Excel(name = "收获地址")
    @TableField(exist = false)
    private String address;

    /**
     * 照片
     */
    @Excel(name = "照片")
    @TableField(value = "photo")
    private String photo;


    /**
     * 教练的评分
     */
    @Excel(name = "评分")
    @TableField(value = "star")
    private Integer star;


}
